package com.gzdh.tang.cupboard.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gzdh.tang.cupboard.entity.CupboardCabInfo;
import com.gzdh.tang.cupboard.entity.CupboardSell;
import com.gzdh.tang.cupboard.mapper.CupboardCabInfoMapper;
import com.gzdh.tang.cupboard.mapper.CupboardSellMapper;
import com.gzdh.tang.cupboard.service.CupboardCabInfoService;
import com.gzdh.tang.cupboard.service.CupboardSellService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class CupboardSellServiceImpl extends ServiceImpl<CupboardSellMapper, CupboardSell> implements CupboardSellService {


    @Autowired
    CupboardSellMapper cupboardSellMapper;

    @Override
    public CupboardSell getCupboardSell(String machineId) {
        return cupboardSellMapper.getCupboardSell(machineId);
    }
}
